//
//  ScaleRulerView.h
//  SPMapKit
//
//  Created by zhangbo on 2017/9/12.
//  Copyright © 2017年 zhangbo. All rights reserved.
//
//  比例尺

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, SPScaleStyle) {
    DARK_STYLE = 0,
    LIGHT_STYLE
};

@interface ScaleRulerView : UIView
{
    UIColor *_mColor;
    UIColor *_sColor;
    UIColor *_fontColor;
}

@property(nonatomic, assign) CGFloat groundResolution;
@property(nonatomic, assign) CGFloat zoomScale;
@property(nonatomic, assign) CGFloat width;
@property(nonatomic, assign) SPScaleStyle scaleStyle;

/**
 是否显示

 @param show 是否显示
 @param animated 是否有动画
 */
-(void) show:(BOOL) show animated:(BOOL) animated;

@end
